package com.yanqu.road.entity.log.ruishou;

import com.yanqu.road.entity.FieldTypeAnnotation;
import com.yanqu.road.entity.log.ServerBaseLog;
import com.yanqu.road.entity.log.maidian.BaseLogEntity;

import java.util.Date;

@FieldTypeAnnotation(tableName = "t_l_ck_activity_rui_shou_choose_reward", autoSave = true, dataUpload = true, eventName = "bless_choose",uploadCk = true,desc = "祥瑞赐福-选择奖励")
public class LogRuiShouChooseReward extends ServerBaseLog {

    @FieldTypeAnnotation(desc = "用户ID", isIndex = true)
    private long userId;
    @FieldTypeAnnotation(desc = "活动ID", isIndex = true, dataAttribute = "activityid")
    private int activityId;
    @FieldTypeAnnotation(desc = "地区id", dataAttribute = "bless_area")
    private int areaId;
    @FieldTypeAnnotation(desc = "瑞兽id", dataAttribute = "bless_id")
    private int monsterId;
    @FieldTypeAnnotation(desc = "奖励id", dataAttribute = "bless_rewardid")
    private int rewardId;
    @FieldTypeAnnotation(desc = "奖励", dataAttribute = "bless_chooseinfo")
    private String reward;

    public LogRuiShouChooseReward(long userId, int activityId, int areaId, int monsterId, int rewardId, String reward, Date time) {
        this.userId = userId;
        this.activityId = activityId;
        this.areaId = areaId;
        this.monsterId = monsterId;
        this.rewardId = rewardId;
        this.reward = reward;

    }

    @Override
    public long getUserId() {
        return userId;
    }

    public void setUserId(long userId) {
        this.userId = userId;
    }

    public int getActivityId() {
        return activityId;
    }

    public void setActivityId(int activityId) {
        this.activityId = activityId;
    }

    public int getAreaId() {
        return areaId;
    }

    public void setAreaId(int areaId) {
        this.areaId = areaId;
    }

    public int getMonsterId() {
        return monsterId;
    }

    public void setMonsterId(int monsterId) {
        this.monsterId = monsterId;
    }

    public int getRewardId() {
        return rewardId;
    }

    public void setRewardId(int rewardId) {
        this.rewardId = rewardId;
    }

    public String getReward() {
        return reward;
    }

    public void setReward(String reward) {
        this.reward = reward;
    }


}
